
PROJECT = emqx_tc_mq
PROJECT_DESCRIPTION = EMQ X Plugin for tc
PROJECT_VERSION = 1.1

DEPS = rabbit_common amqp_client
dep_rabbit_common = git https://github.com/rabbitmq/rabbitmq-common.git v3.7.9
dep_amqp_client = git https://github.com/rabbitmq/rabbitmq-erlang-client.git v3.7.9

BUILD_DEPS = emqx cuttlefish
dep_emqx = git https://github.com/emqtt/emqttd emqx30
dep_cuttlefish = git https://github.com/emqx/cuttlefish

ERLC_OPTS += +debug_info

NO_AUTOPATCH = cuttlefish

COVER = true

include erlang.mk

app:: rebar.config

app.config::
	./deps/cuttlefish/cuttlefish -l info -e etc/ -c etc/emqx_tc_mq.conf -i priv/emqx_tc_mq.schema -d data
